
<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
  <div id="content">
    <div class="mainarea">
      <div class="maininner">
        <div class="bdrcontent">
          <form id="phpform" method="post" action="__URL__/update" class="formtable" onsubmit="return $.formValidator.pageIsValid('1')">
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
              <input type = "hidden" value="{.id}" name="id" />
              <tr>
                <td width="120">登录名：</td>
                <td><input name="loginname" type="text" style="width:260px;" id="loginname" value="{$vo.loginname}"  /></td>
              </tr>
              <tr>
                <td>密码：</td>
                <td><input name="password" type="text" style="width:260px;" id="password" value="{$vo.password}"  /></td>
              </tr>
              <tr>
                <td>票数：</td>
                <td><input name="totalVote" type="text" style="width:260px;" id="totalVote" value="{$vo.totalVote}"  /></td>
              </tr>
              <tr>
                <td>姓名：</td>
                <td><input name="bname" type="text" style="width:260px;" id="bname" value="{$vo.bname}"  /></td>
              </tr>
              <tr>
                <td>家长姓名：</td>
                <td><input name="fatherName" type="text" style="width:260px;" id="fatherName" value="{$vo.fatherName}"  /></td>
              </tr>
              <tr>
                <td>家长联系电话：</td>
                <td><input name="tel1" type="text" style="width:260px;" id="tel1" value="{$vo.tel1}"  /></td>
              </tr>
              <tr>
                <td>固定电话：</td>
                <td><input name="tel2" type="text" style="width:260px;" id="tel2" value="{$vo.tel2}"  /></td>
              </tr>
              <tr>
                <td>手机：</td>
                <td><input name="tel3" type="text" style="width:260px;" id="tel3" value="{$vo.tel3}"  /></td>
              </tr>
              <tr>
                <td>性别：</td>
                <td><input type="radio" name="bsex" id="bsex1" value="1" />
                  <label for="sex1">男</label>
                  <input type="radio" name="bsex" id="bsex2" value="2" />
                  <label for="sex2"> 女</label></td>
              </tr>
              <tr>
                <td>年龄：</td>
                <td><input name="bage" type="text" style="width:260px;" id="bage" value="{$vo.bage}"  /></td>
              </tr>
              <!--			  <tr>
                <td>baddress：</td>
                <td><input name="baddress" type="text" style="width:260px;" id="baddress" value="{$vo.baddress}"  /></td>
              </tr>
		  <tr>
                <td>tel：</td>
                <td><input name="tel" type="text" style="width:260px;" id="tel" value="{$vo.tel}"  /></td>
              </tr>-->
              <tr>
                <td>幼儿园名称：</td>
                <td><input name="kname" type="text" style="width:260px;" id="kname" value="{$vo.kname}"  /></td>
              </tr>
              <tr>
                <td>幼儿园地址：</td>
                <td><input name="kaddress" type="text" style="width:260px;" id="kaddress" value="{$vo.kaddress}"  /></td>
              </tr>
              <tr>
                <td>幼儿园班级：</td>
                <td><input name="kclass" type="text" style="width:260px;" id="kclass" value="{$vo.kclass}"  /></td>
              </tr>
              <tr>
                <td>备注：</td>
                <td><textarea name="note" rows="4" id="note" style="width:260px;">{$vo.note}</textarea></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交" class="submit" />
                  <input name="reset" type="reset" value="重置" class="submit" />
                  <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
              </tr>
            </table>
          </form>
        </div>
        <br />
      </div>
    </div>
    <include file="../Public/menu" /> </div>
  <include file="../Public/footer" /> </div>
</body></html><script type="text/javascript">

$(document).ready(function(){
	$.formValidator.initConfig({autotip:true,tidymode:true,onerror:function(msg){alert(msg)}});
	$('#bsex{$vo.bsex}').attr('checked','checked');
	// $("#loginname").formValidator({onshow:"请输入loginname",onfocus:"loginname必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的loginname长度不正确,请确认"});
	// $("#totalVote").formValidator({onshow:"请输入totalVote",onfocus:"totalVote必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的totalVote长度不正确,请确认"});
	// $("#password").formValidator({onshow:"请输入password",onfocus:"password必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的password长度不正确,请确认"});
	// $("#bname").formValidator({onshow:"请输入bname",onfocus:"bname必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的bname长度不正确,请确认"});
	// $("#fatherName").formValidator({onshow:"请输入fatherName",onfocus:"fatherName必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的fatherName长度不正确,请确认"});
	// $("#bsex").formValidator({onshow:"请输入bsex",onfocus:"bsex必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的bsex长度不正确,请确认"});
	// $("#bage").formValidator({onshow:"请输入bage",onfocus:"bage必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的bage长度不正确,请确认"});
	// $("#baddress").formValidator({onshow:"请输入baddress",onfocus:"baddress必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的baddress长度不正确,请确认"});
	// $("#tel").formValidator({onshow:"请输入tel",onfocus:"tel必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的tel长度不正确,请确认"});
	// $("#kname").formValidator({onshow:"请输入kname",onfocus:"kname必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的kname长度不正确,请确认"});
	// $("#kaddress").formValidator({onshow:"请输入kaddress",onfocus:"kaddress必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的kaddress长度不正确,请确认"});
	// $("#kgrade").formValidator({onshow:"请输入kgrade",onfocus:"kgrade必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的kgrade长度不正确,请确认"});
	// $("#kclass").formValidator({onshow:"请输入kclass",onfocus:"kclass必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的kclass长度不正确,请确认"});
	// $("#note").formValidator({onshow:"请输入note",onfocus:"note必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的note长度不正确,请确认"});
});

</script>